package com.yanqu.road.entity.log.cross.jiuzhou;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.math.BigInteger;
import java.util.Date;

@FieldTypeAnnotation(desc = "九州棋局-报名日志", tableName = "t_l_ck_jiu_zhou_sign_up", autoSave = true, uploadCk = true, isCross = true)
public class LogJiuZhouSignUp extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "报名时的实力评定等级")
    private int signMonthRankGrade;
    @FieldTypeAnnotation(desc = "报名时赚速")
    private BigInteger signTimeAbility;
    @FieldTypeAnnotation(desc = "报名赛区")
    private int signZone;
    @FieldTypeAnnotation(desc = "时间")
    private Date date;

    public LogJiuZhouSignUp(int activityId, long userId, int signMonthRankGrade, BigInteger signTimeAbility, int signZone, Date date) {
        this.activityId = activityId;
        this.userId = userId;
        this.signMonthRankGrade = signMonthRankGrade;
        this.signTimeAbility = signTimeAbility;
        this.signZone = signZone;
        this.date = date;
    }

    public long getUserId() {
        return userId;
    }

}
